package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.UserChargeLogDao;
import io.wdb.modules.generator.generator.entity.UserChargeLogEntity;
import io.wdb.modules.generator.generator.service.UserChargeLogService;



@Service("userChargeLogService")
public class UserChargeLogServiceImpl implements UserChargeLogService {
	@Autowired
	private UserChargeLogDao userChargeLogDao;
	
	@Override
	public UserChargeLogEntity queryObject(Long id){
		return userChargeLogDao.queryObject(id);
	}
	
	@Override
	public List<UserChargeLogEntity> queryList(Map<String, Object> map){
		return userChargeLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return userChargeLogDao.queryTotal(map);
	}
	
	@Override
	public void save(UserChargeLogEntity userChargeLog){
		userChargeLogDao.save(userChargeLog);
	}
	
	@Override
	public void update(UserChargeLogEntity userChargeLog){
		userChargeLogDao.update(userChargeLog);
	}
	
	@Override
	public void delete(Long id){
		userChargeLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		userChargeLogDao.deleteBatch(ids);
	}
	
}
